package com.qingcloud.base.api.remote.admin.fallback;

import com.qingcloud.base.api.remote.admin.AdminApi;
import com.qingcloud.base.pojo.AjaxResult;
import com.qingcloud.base.remote.admin.MessageEventSaveRule;
import com.qingcloud.base.remote.admin.MessageEventTypeField;
import com.qingcloud.base.remote.pojo.*;
import lombok.Setter;

import java.util.*;

public class AdminApiFallback implements AdminApi {

    @Setter
    private Throwable cause;

    @Override
    public List<SimpleUserDTO> findUserByOrgId(String orgId) {
        return Collections.emptyList();
    }

    @Override
    public List<SimpleUserDTO> findUserByIdList(Collection<String> idList) {
        return Collections.emptyList();
    }

    @Override
    public List<SimpleUserDTO> findByUsernameList(Collection<String> userNameList) {
        return Collections.emptyList();
    }

    @Override
    public UserFlagDTO findUserFlag(String userId) {
        return null;
    }

    @Override
    public List<SimpleUserDTO> findUserLike(String name) {
        return Collections.emptyList();
    }

    @Override
    public LoginUserDTO findUserByName(String userName) {
        return null;
    }

    @Override
    public LoginUserDTO findUserByUserId(String userId) {
        return null;
    }

    @Override
    public LoginUserDTO findUserById(String userId) {
        return null;
    }

    @Override
    public LoginUserDTO loginAllPlatforms(LoginRequest loginRequest) {
        return null;
    }

    @Override
    public List<SysOrderDTO> getOrders(OrderParam orderParam) {
        return Collections.emptyList();
    }

    @Override
    public List<StationProjectInfoDTO> findStationOrderInfo(Collection<String> sidSet) {
        return null;
    }

    @Override
    public Map<String, Object> getFunctionByUserId(FunctionRequest functionRequest) {
        return null;
    }

    @Override
    public List<FunctionDTO> getFunctionList(FunctionRequest functionRequest) {
        return null;
    }

    @Override
    public List<MenuDTO> getMenuByUserAndType(String userId, String menuType) {
        return null;
    }

    @Override
    public AjaxResult changePassword(ChangePwdParam param) {
        return null;
    }

    @Override
    public List<String> getAllFunctionCode(FunctionRequest functionRequest) {
        return null;
    }

//    @Override
//    public List<MenuDTO> getAllMenu(FunctionRequest functionRequest) {
//        return null;
//    }

    @Override
    public Set<String> findUserTaskOrgIds(String userId) {
        return null;
    }

    @Override
    public String findTaskOrg(String userId) {
        return null;
    }

    @Override
    public List<GridUserDTO> findGridUser(GridUserParam gridUserParam) {
        return null;
    }

    @Override
    public Set<String> getStationDataPermissions(String userId, String workType) {
        return null;
    }

    @Override
    public Set<String> findReadableEquipment(String userId, Integer businessType) {
        return null;
    }

    @Override
    public List<StationProjectInfoDTO> findOrderStation(String projectId, Integer businessType) {
        return null;
    }

    @Override
    public List<EquipmentProjectInfoDTO> findOrderEquipmentId(String projectId) {
        return null;
    }

    @Override
    public List<EquipmentProjectInfoDTO> findEquipmentInfo(Collection<String> equipmentIds) {
        return null;
    }

    @Override
    public List<SysOrgInfo> findOrgInfo(OrgInfoParam orgInfoParam) {
        return null;
    }

    @Override
    public List<SysOrgInfo> findOrgChild(String parentId) {
        return null;
    }

    @Override
    public List<DsDTO> getAllDatasource() {
        return null;
    }

    @Override
    public DsDatabaseDTO getDatabaseByDsId(Integer dsId) {
        return null;
    }

    @Override
    public List<DsDTO.DsAllInfoDTO> findDsAllInfo() {
        return null;
    }

    @Override
    public List<UserDomainDTO> getUserDomains(String userName) {
        return null;
    }

    @Override
    public List<PageProductListVO> selectAllProductList() {
        return null;
    }

    @Override
    public List<String> equipmentByProductType(String productType) {
        return null;
    }

    @Override
    public List<ApiTreeNode> productCommandClassifyTree(Integer productTypeId) {
        return null;
    }

    @Override
    public List<EventMessageInfoVO> eventNoticeConfigList() {
        return null;
    }

    @Override
    public List<MessageEventTypeField> findEventTypeField(Integer typeId) {
        return Collections.emptyList();
    }

    @Override
    public MessageEventSaveRule findEventRules(String eventCode) {
        return null;
    }

    @Override
    public AjaxResult addOrUpdateBusinessApp(BusinessApp businessApp) {
        return null;
    }

    @Override
    public AjaxResult deleteBusinessApp(Integer origin, String bizCode) {
        return null;
    }

    @Override
    public List<BusinessTypeDTO> businessAppFilter(String userId) {
        return null;
    }

    @Override
    public AjaxResult updateFunction(FunctionDTO functionDTO) {
        return null;
    }

    @Override
    public AjaxResult addFunction(FunctionDTO functionDTO) {
        return null;
    }

    @Override
    public AjaxResult addOrUpdateFunction(FunctionDTO functionDTO) {
        return null;
    }

    @Override
    public AjaxResult delFunction(String functionIds) {
        return null;
    }

    @Override
    public AjaxResult findByBizId(Integer origin, String bizCode) {
        return null;
    }

    @Override
    public List<FunctionDTO> getChildFunction(String parentId) {
        return Collections.emptyList();
    }

    @Override
    public SimpleUserDTO findAppOwner(Integer appId) {
        return new SimpleUserDTO();
    }

    @Override
    public Map<String, Set<String>> getAppFunctionCode(AppFunctionParam param) {
        return new HashMap<>();
    }

    @Override
    public AjaxResult loginStatus(String userId) {
        return null;
    }

    @Override
    public Set<Integer> getMyPartAppId(String userId) {
        return Collections.emptySet();
    }
}
